MapSource.getX

Gets the x position on the map using this map source's projection. (0, 0) is located at the top left.

class MapSource
double
getX
(
double zoomLevel
,
double longitude
)

Parameters

zoomLevel double

the zoom level

longitude double

a longitude

Return Value

Type: double

the x position

Meta